export default {
	props: {
		flush: {
			type: Boolean,
			default: false,
		}
	},
	watch: {
		flush: function(val) {
			if (val) {
				this.doFlush();
			}
		}
	},
	methods: {
		load: async function() {},
		doFlush: async function() {
			await this.load();
			this.$emit('update:flush', false)
		}
	}
}
